package net.manager.user;

import net.entity.User;

public class UserManager {
	
	public User getUser(String userid, String password) {
		User user = null;
		if(userid != null && password != null) {
			if(userid.equalsIgnoreCase("guest") && password.equalsIgnoreCase("password")) {
				user = new User();
				user.setFirstName("Guest");
				user.setUserId(userid);
				user.setPassword(password);
			}
		}

		return user;
	}


}
